
pkgname=libassuan
pkgver=2.5.1
pkgrel=1
pkgdesc="A IPC library used by some GnuPG related software"
arch=('x86_64')
license=('GPL')
url="http://www.gnupg.org/related_software/libassuan"
depends=('libgpg-error')
options=('!libtool')
source=("ftp://ftp.gnupg.org/gcrypt/libassuan/${pkgname}-${pkgver}.tar.bz2")
md5sums=('4354b7ae296894f232ada226a062d7d7')

build() {
  cd ${pkgname}-${pkgver}
  
  ./configure --prefix=/usr
  make
}

check() {
   cd ${pkgname}-${pkgver}
   
   make check
} 

package() {
  cd ${pkgname}-${pkgver}
  
  make DESTDIR=${pkgdir} install
}

